#include "StudentImp.h"
using namespace std;
StudentImp::StudentImp(const std::string &name, const std::string &faculty):studentName(name),facultyName(faculty){}

const string& StudentImp::getFaculty() const {
	return this->facultyName;
}

const string& StudentImp::getName() const {
	return this->studentName;
}

StudentImp::~StudentImp(){}

StudentImp::StudentImp(const StudentImp &otherImp){
	this->studentName = otherImp.studentName;
	this->facultyName = otherImp.facultyName;
	this->sbj = otherImp.sbj;	
}

StudentImp& StudentImp::operator=(const StudentImp& otherImp){
	if(this != &otherImp){
		this->studentName = otherImp.studentName;
		this->facultyName = otherImp.facultyName;
		this->sbj = otherImp.sbj;
	}
	return *this;
}

